package com.rtx.wms.std.asn.bean;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 入库单表
 * </p>
 *
 * @author zcw
 * @since 2023-04-20
 */
@Data
@TableName("receipt")
@ApiModel(value = "receipt对象", description = "入库单表")
public class Receipt {

    @TableId(value = "SERIALKEY", type = IdType.AUTO)
    private Long SERIALKEY;

    private String whseid;
    private String storerkey;
    private String receiptkey;
    private String externreceiptkey;
    private String externalreceiptkey2;
    private LocalDateTime receiptdate;
    private String type;
    private LocalDateTime expectedreceiptdate;
    private String suppliercode;
    private String suppliername;
    private String status;
    private BigDecimal openqty;
    private String shipfromcontact;
    private String shipfromphone;
    private String shipfromstate;
    private String shipfromcity;
    private String shipfromaddressline2;
    private String shipfromaddressline3;
    private String shipfromaddressline1;
    private String logisticscode;
    private String logisticsname;
    private String rtxexpresskey;
    private String notes;
    private String rtxpofromhourse;
    private String rtxqmmethod;
    private String qmcustomerid;
    private String rtxqmtype;
    @TableField(value = "allow_over")
    private String allowOver;
    
    private String carrierkey;
    private String carriername;
    private String shipfromzip;
    private String shipfromemail;
    private String carrierreference;
    private String receiptfinishflag;
    private String rtxshopnick;
    
    private String ediflag;
    private String edimsg;
    
    private String default01;
    private String default02;
    private String default03;
    private String default04;
    private String default05;
    private String default06;
    private String default07;
    private String default08;
    private String default09;
    private String default10;
    private String returnfailedreason;//上传信息
    
    
    //中研新增字段
//    private String externreceiptkey2;
//    private String rtxexternaltype;
//    private String rtxpurgroup;
//    private String rtxsalegroup;
//    private String carriercode;
//    private String rtxtotalamount;
//    private String rtxfsrcstockid;
//    private String rtxdeststockid;
//    private String referencedocument;
//    private String totalqty;
//    private String rtxbsart;
//    private String shipfromcontact2;
    
    
    @TableField(exist = false)
    private List<Receiptdetail> details;
    
	
}
